package com.yami.shop.personnft.common.dao;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yami.shop.personnft.common.model.TransferApplyRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Mapper接口
 *
 * @author zhangchaoqun
 * @date 2021-10-21
 */
public interface TransferApplyRecordMapper
{
    public void save(@Param("transferApplyRecord") TransferApplyRecord transferApplyRecord);
    public void updateByPrimaryKeySelective(@Param("transferApplyRecord") TransferApplyRecord transferApplyRecord);
    public TransferApplyRecord selectById(@Param("id") String id);
    public List<TransferApplyRecord> selectList(@Param("transferApplyRecord") TransferApplyRecord transferApplyRecord);
    public IPage<TransferApplyRecord> selectPageList(Page page, @Param("transferApplyRecord") TransferApplyRecord transferApplyRecord);
    /**
     * 批量修改
     *
     */
    void updateBatch(@Param("list") List<TransferApplyRecord> list);
    public TransferApplyRecord selectIntoStautsByBatchId(@Param("batchId") String batchId);
    public TransferApplyRecord selectIntoStautsByAppId(@Param("appId") String appId);
    public void updateIntoStautsByBatchId(@Param("batchId") String batchId,@Param("status") Integer status,@Param("msg") String msg,@Param("times") Integer times);
}
